<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-opts.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">tw-opts.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="tw-opts_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtw__optdef.html">tw_optdef</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0e45b7a88a51dca3fe99d31aae9636c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a0e45b7a88a51dca3fe99d31aae9636c4">TWOPT_GROUP</a>(h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa">TWOPTTYPE_GROUP</a>,    NULL, (h), NULL }</td></tr>
<tr class="separator:a0e45b7a88a51dca3fe99d31aae9636c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1db593019e44d1d366cd7ec92c418cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#ae1db593019e44d1d366cd7ec92c418cf">TWOPT_ULONG</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0ac34328eb8b8e00ecd69482d8b908cbee">TWOPTTYPE_ULONG</a>,     (n), (h), &amp;(v) }</td></tr>
<tr class="separator:ae1db593019e44d1d366cd7ec92c418cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21cd827141f4fc64117c38b804846903"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a21cd827141f4fc64117c38b804846903">TWOPT_ULONGLONG</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50">TWOPTTYPE_ULONGLONG</a>, (n), (h), &amp;(v) }</td></tr>
<tr class="separator:a21cd827141f4fc64117c38b804846903"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d00417e3bef0d001f256f846c72838d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>,      (n), (h), &amp;(v) }</td></tr>
<tr class="separator:a0d00417e3bef0d001f256f846c72838d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62f5bf9c102d88c1523b374c4c1155a3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a62f5bf9c102d88c1523b374c4c1155a3">TWOPT_STIME</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a948efe8c0c284a4cc05837a24d49318b">TWOPTTYPE_STIME</a>,     (n), (h), &amp;(v) }</td></tr>
<tr class="separator:a62f5bf9c102d88c1523b374c4c1155a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb3c6cf7dfe9b1b9927905a7f5d86855"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#aeb3c6cf7dfe9b1b9927905a7f5d86855">TWOPT_DOUBLE</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a>,    (n), (h), &amp;(v) }</td></tr>
<tr class="separator:aeb3c6cf7dfe9b1b9927905a7f5d86855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f719d60e0328d6ef7f96e07c02f2769"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a3f719d60e0328d6ef7f96e07c02f2769">TWOPT_CHAR</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a0bf637017f7ca8efdf5a1875b8fc72a3">TWOPTTYPE_CHAR</a>,      (n), (h), &amp;(v) }</td></tr>
<tr class="separator:a3f719d60e0328d6ef7f96e07c02f2769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab46f48aa73172323ad21b339d7c5c6b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#ab46f48aa73172323ad21b339d7c5c6b7">TWOPT_FLAG</a>(n, v, h)&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a3c4219f4dedfd2500e564aba848db298">TWOPTTYPE_FLAG</a>,      (n), (h), &amp;(v) }</td></tr>
<tr class="separator:ab46f48aa73172323ad21b339d7c5c6b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38209b0e7568d41f5448ae5f884290a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a38209b0e7568d41f5448ae5f884290a4">TWOPT_END</a>()&#160;&#160;&#160;{ (<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a>)0,     NULL, NULL, NULL }</td></tr>
<tr class="separator:a38209b0e7568d41f5448ae5f884290a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8bf2120b809c190708c02cdec68283bf"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a8bf2120b809c190708c02cdec68283bf">tw_opttype</a></td></tr>
<tr class="separator:a8bf2120b809c190708c02cdec68283bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a193216dad14ebec7efb729e556ff05c9"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structtw__optdef.html">tw_optdef</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a193216dad14ebec7efb729e556ff05c9">tw_optdef</a></td></tr>
<tr class="separator:a193216dad14ebec7efb729e556ff05c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac99387e9ab28cb8eb9f101eaac0bdcd0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a> { <br/>
&#160;&#160;<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa">TWOPTTYPE_GROUP</a> = 1, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0ac34328eb8b8e00ecd69482d8b908cbee">TWOPTTYPE_ULONG</a>, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50">TWOPTTYPE_ULONGLONG</a>, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, 
<br/>
&#160;&#160;<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a948efe8c0c284a4cc05837a24d49318b">TWOPTTYPE_STIME</a>, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a>, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a0bf637017f7ca8efdf5a1875b8fc72a3">TWOPTTYPE_CHAR</a>, 
<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a3c4219f4dedfd2500e564aba848db298">TWOPTTYPE_FLAG</a>, 
<br/>
&#160;&#160;<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a1b2446a3924ab7685e1bee03f64935a5">TWOPTTYPE_SHOWHELP</a>
<br/>
 }</td></tr>
<tr class="separator:ac99387e9ab28cb8eb9f101eaac0bdcd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a899f9ec9822bbe43beedc9ed646aec41"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a899f9ec9822bbe43beedc9ed646aec41">tw_opt_parse</a> (int *argc, char ***argv)</td></tr>
<tr class="separator:a899f9ec9822bbe43beedc9ed646aec41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4b8bc6800f3d900747d4adeda4ac92"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#adb4b8bc6800f3d900747d4adeda4ac92">tw_opt_add</a> (const <a class="el" href="structtw__optdef.html">tw_optdef</a> *options)</td></tr>
<tr class="separator:adb4b8bc6800f3d900747d4adeda4ac92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a608ddd1eb5b1f637643a5fb6e6c6d781"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#a608ddd1eb5b1f637643a5fb6e6c6d781">tw_opt_print</a> (void)</td></tr>
<tr class="separator:a608ddd1eb5b1f637643a5fb6e6c6d781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea001cd9eb78bd29b46a39976fa700a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-opts_8h.html#aea001cd9eb78bd29b46a39976fa700a5">tw_opt_settings</a> (FILE *f)</td></tr>
<tr class="separator:aea001cd9eb78bd29b46a39976fa700a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a3f719d60e0328d6ef7f96e07c02f2769"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_CHAR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a0bf637017f7ca8efdf5a1875b8fc72a3">TWOPTTYPE_CHAR</a>,      (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00033">33</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeb3c6cf7dfe9b1b9927905a7f5d86855"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_DOUBLE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a>,    (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00032">32</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a38209b0e7568d41f5448ae5f884290a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_END</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;{ (<a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a>)0,     NULL, NULL, NULL }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00035">35</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab46f48aa73172323ad21b339d7c5c6b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_FLAG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a3c4219f4dedfd2500e564aba848db298">TWOPTTYPE_FLAG</a>,      (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00034">34</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0e45b7a88a51dca3fe99d31aae9636c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_GROUP</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h</td><td>)</td>
          <td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa">TWOPTTYPE_GROUP</a>,    NULL, (h), NULL }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00027">27</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a62f5bf9c102d88c1523b374c4c1155a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_STIME</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a948efe8c0c284a4cc05837a24d49318b">TWOPTTYPE_STIME</a>,     (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00031">31</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d00417e3bef0d001f256f846c72838d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_UINT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>,      (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00030">30</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae1db593019e44d1d366cd7ec92c418cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_ULONG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0ac34328eb8b8e00ecd69482d8b908cbee">TWOPTTYPE_ULONG</a>,     (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00028">28</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a21cd827141f4fc64117c38b804846903"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TWOPT_ULONGLONG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">n, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">v, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;{ <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50">TWOPTTYPE_ULONGLONG</a>, (n), (h), &amp;(v) }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00029">29</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a193216dad14ebec7efb729e556ff05c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structtw__optdef.html">tw_optdef</a> <a class="el" href="structtw__optdef.html">tw_optdef</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00018">18</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8bf2120b809c190708c02cdec68283bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a> <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00016">16</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa"></a>TWOPTTYPE_GROUP</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0ac34328eb8b8e00ecd69482d8b908cbee"></a>TWOPTTYPE_ULONG</em>&#160;</td><td class="fielddoc">
<p>value must be an "unsigned long*" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50"></a>TWOPTTYPE_ULONGLONG</em>&#160;</td><td class="fielddoc">
<p>value must be an "unsigned long long*" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f"></a>TWOPTTYPE_UINT</em>&#160;</td><td class="fielddoc">
<p>value must be an "unsigned int*" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a948efe8c0c284a4cc05837a24d49318b"></a>TWOPTTYPE_STIME</em>&#160;</td><td class="fielddoc">
<p>value must be a "tw_stime*" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea"></a>TWOPTTYPE_DOUBLE</em>&#160;</td><td class="fielddoc">
<p>value must be a "double *" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a0bf637017f7ca8efdf5a1875b8fc72a3"></a>TWOPTTYPE_CHAR</em>&#160;</td><td class="fielddoc">
<p>value must be a "char *" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a3c4219f4dedfd2500e564aba848db298"></a>TWOPTTYPE_FLAG</em>&#160;</td><td class="fielddoc">
<p>value must be an "unsigned int*" </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac99387e9ab28cb8eb9f101eaac0bdcd0a1b2446a3924ab7685e1bee03f64935a5"></a>TWOPTTYPE_SHOWHELP</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>

<p>Definition at line <a class="el" href="tw-opts_8h_source.html#l00004">4</a> of file <a class="el" href="tw-opts_8h_source.html">tw-opts.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="adb4b8bc6800f3d900747d4adeda4ac92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_opt_add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structtw__optdef.html">tw_optdef</a> *&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add an opt group </p>

<p>Definition at line <a class="el" href="tw-opts_8c_source.html#l00014">14</a> of file <a class="el" href="tw-opts_8c_source.html">tw-opts.c</a>.</p>

<p>References <a class="el" href="tw-opts_8c_source.html#l00416">is_empty()</a>, <a class="el" href="tw-opts_8c_source.html#l00011">opt_index</a>, and <a class="el" href="tw-opts_8h_source.html#l00021">tw_optdef::type</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>, and <a class="el" href="tw-setup_8c_source.html#l00033">tw_init()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_cgraph.png" border="0" usemap="#tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_cgraph" alt=""/></div>
<map name="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_cgraph" id="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_cgraph">
<area shape="rect" id="node2" href="tw-opts_8c.html#a574b07a110ca971f9b11e3ec8e2be4c7" title="is_empty" alt="" coords="144,5,219,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_icgraph.png" border="0" usemap="#tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_icgraph" alt=""/></div>
<map name="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_icgraph" id="tw-opts_8h_adb4b8bc6800f3d900747d4adeda4ac92_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="253,5,304,32"/><area shape="rect" id="node3" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="145,31,205,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a899f9ec9822bbe43beedc9ed646aec41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_opt_parse </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char ***&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove options from the command line arguments. </p>

<p>Definition at line <a class="el" href="tw-opts_8c_source.html#l00427">427</a> of file <a class="el" href="tw-opts_8c_source.html">tw-opts.c</a>.</p>

<p>References <a class="el" href="ross_8h_source.html#l00088">ARRAY_SIZE</a>, <a class="el" href="tw-opts_8c_source.html#l00411">basic</a>, <a class="el" href="tw-opts_8c_source.html#l00416">is_empty()</a>, <a class="el" href="tw-opts_8c_source.html#l00378">match_opt()</a>, <a class="el" href="tw-opts_8c_source.html#l00004">program</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, and <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00033">tw_init()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_cgraph.png" border="0" usemap="#tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_cgraph" alt=""/></div>
<map name="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_cgraph" id="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_cgraph">
<area shape="rect" id="node2" href="tw-opts_8c.html#a574b07a110ca971f9b11e3ec8e2be4c7" title="is_empty" alt="" coords="159,212,233,239"/><area shape="rect" id="node3" href="tw-opts_8c.html#a3f91680611ade2426999baee0d9c876c" title="match_opt" alt="" coords="155,263,237,289"/><area shape="rect" id="node8" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="715,288,784,315"/><area shape="rect" id="node4" href="tw-opts_8c.html#a255e7c887f702f6b1fb1e98df987d67d" title="apply_opt" alt="" coords="286,187,365,213"/><area shape="rect" id="node6" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="573,237,667,264"/><area shape="rect" id="node7" href="network-mpi_8c.html#a753856a718a9881f642523034260d3f9" title="Stops the network library after simulation end. " alt="" coords="573,161,667,188"/><area shape="rect" id="node5" href="tw-opts_8c.html#a1e0015ee860c22bf7a216494f0b022f1" title="need_argument" alt="" coords="414,187,525,213"/><area shape="rect" id="node10" href="tw-opts_8c.html#aef20148be3ae52ac456c42f8217b8a95" title="show_help" alt="" coords="427,35,511,61"/><area shape="rect" id="node11" href="ross-extern_8h.html#acbad94a55fd48c019924e3efbfa9b57a" title="tw_warning" alt="" coords="425,85,513,112"/><area shape="rect" id="node9" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="833,288,930,315"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_icgraph.png" border="0" usemap="#tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_icgraph" alt=""/></div>
<map name="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_icgraph" id="tw-opts_8h_a899f9ec9822bbe43beedc9ed646aec41_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="155,5,215,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="264,5,315,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a608ddd1eb5b1f637643a5fb6e6c6d781"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_opt_print </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pretty-print the option descriptions (for &ndash;help) </p>

<p>Definition at line <a class="el" href="tw-opts_8c_source.html#l00215">215</a> of file <a class="el" href="tw-opts_8c_source.html">tw-opts.c</a>.</p>

<p>References <a class="el" href="tw-opts_8c_source.html#l00005">all_groups</a>, <a class="el" href="ross-global_8c_source.html#l00091">g_tw_csv</a>, <a class="el" href="tw-opts_8h_source.html#l00022">tw_optdef::name</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00068">tw_ismaster()</a>, <a class="el" href="tw-opts_8h_source.html#l00012">TWOPTTYPE_CHAR</a>, <a class="el" href="tw-opts_8h_source.html#l00011">TWOPTTYPE_DOUBLE</a>, <a class="el" href="tw-opts_8h_source.html#l00013">TWOPTTYPE_FLAG</a>, <a class="el" href="tw-opts_8h_source.html#l00006">TWOPTTYPE_GROUP</a>, <a class="el" href="tw-opts_8h_source.html#l00010">TWOPTTYPE_STIME</a>, <a class="el" href="tw-opts_8h_source.html#l00009">TWOPTTYPE_UINT</a>, <a class="el" href="tw-opts_8h_source.html#l00007">TWOPTTYPE_ULONG</a>, <a class="el" href="tw-opts_8h_source.html#l00008">TWOPTTYPE_ULONGLONG</a>, <a class="el" href="tw-opts_8h_source.html#l00021">tw_optdef::type</a>, and <a class="el" href="tw-opts_8h_source.html#l00024">tw_optdef::value</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_a608ddd1eb5b1f637643a5fb6e6c6d781_cgraph.png" border="0" usemap="#tw-opts_8h_a608ddd1eb5b1f637643a5fb6e6c6d781_cgraph" alt=""/></div>
<map name="tw-opts_8h_a608ddd1eb5b1f637643a5fb6e6c6d781_cgraph" id="tw-opts_8h_a608ddd1eb5b1f637643a5fb6e6c6d781_cgraph">
<area shape="rect" id="node2" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="147,5,240,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aea001cd9eb78bd29b46a39976fa700a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_opt_settings </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Pretty-print the option descriptions and current values </p>

<p>Definition at line <a class="el" href="tw-opts_8c_source.html#l00138">138</a> of file <a class="el" href="tw-opts_8c_source.html">tw-opts.c</a>.</p>

<p>References <a class="el" href="tw-opts_8c_source.html#l00005">all_groups</a>, <a class="el" href="tw-opts_8h_source.html#l00023">tw_optdef::help</a>, <a class="el" href="tw-opts_8h_source.html#l00022">tw_optdef::name</a>, <a class="el" href="tw-opts_8h_source.html#l00012">TWOPTTYPE_CHAR</a>, <a class="el" href="tw-opts_8h_source.html#l00011">TWOPTTYPE_DOUBLE</a>, <a class="el" href="tw-opts_8h_source.html#l00013">TWOPTTYPE_FLAG</a>, <a class="el" href="tw-opts_8h_source.html#l00006">TWOPTTYPE_GROUP</a>, <a class="el" href="tw-opts_8h_source.html#l00010">TWOPTTYPE_STIME</a>, <a class="el" href="tw-opts_8h_source.html#l00009">TWOPTTYPE_UINT</a>, <a class="el" href="tw-opts_8h_source.html#l00007">TWOPTTYPE_ULONG</a>, <a class="el" href="tw-opts_8h_source.html#l00008">TWOPTTYPE_ULONGLONG</a>, <a class="el" href="tw-opts_8h_source.html#l00021">tw_optdef::type</a>, and <a class="el" href="tw-opts_8h_source.html#l00024">tw_optdef::value</a>.</p>

<p>Referenced by <a class="el" href="io-mpi_8c_source.html#l00255">io_store_checkpoint()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-opts_8h_aea001cd9eb78bd29b46a39976fa700a5_icgraph.png" border="0" usemap="#tw-opts_8h_aea001cd9eb78bd29b46a39976fa700a5_icgraph" alt=""/></div>
<map name="tw-opts_8h_aea001cd9eb78bd29b46a39976fa700a5_icgraph" id="tw-opts_8h_aea001cd9eb78bd29b46a39976fa700a5_icgraph">
<area shape="rect" id="node2" href="io_8h.html#ac3ab72128378352882064797a463afba" title="io_store_checkpoint" alt="" coords="168,5,307,32"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
